<!DOCTYPE html>
<html lang="cn" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
  <title>仓库情况</title>

  <!--引入资源文件-->
  <link rel="stylesheet" th:href="@{/static/css/bootstrap.min.css}">
  <link rel="stylesheet" th:href="@{/static/css/bootstrap-theme.min.css}">
  <link rel="stylesheet" th:href="@{/static/css/mycss.css}">

  <script th:src="@{/static/js/jquery.min.js}"></script>
  <script th:src="@{/static/js/bootstrap.min.js}"></script>
  <style>
    html, body {
      width: 100%;
      height: 100%;
    }

    .entryOrder {
      background-color: white;
      width: 65%;
      padding: 2% 2% 2%;
      margin: 10px auto 10px;
      border-radius: 10px;
    }

    .orderContent {
      margin-left: 10%;
    }
    .table>tbody>tr>td{
      border: 0;
    }
  </style>
  <script>
  </script>
</head>
<body style="background-color: #eef0f5">

<div class="entryOrder" th:each="currentcargo : ${currentcargos}">
  <table class="table" style="margin-bottom: 0;">
    <tbody>
    <tr>
      <td><b>货物编号</b></td>
      <td><b>货物名称</b></td>
      <td><b>货物数量</b></td>
      <td><b>入库时间</b></td>
      <td><b>所在货位</b></td>
      <td></td>
    </tr>

    <tr >
      <td th:text="${currentcargo.cargo_num}"></td>
      <td th:text="${currentcargo.cargo_name}"></td>
      <td th:text="${currentcargo.cargo_amount}"></td>
      <td th:text="${currentcargo.entry_time}"></td>
      <td th:text="${currentcargo.place_id}"></td>
      <td >
        <a th:href="@{/entryOrderContent}" target="contentpanel">修改</a>
      </td>

    </tr>
    </tbody>

  </table>
</div>

</body>
</html>